package com.hoshiibuy.platform.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.platform.entity.Platform;
import com.hoshiibuy.platform.entity.PlatformDepartments;

/**
 * <p>
 * 部门 服务类
 * </p>
 *
 * @author yl
 * @since 2019-04-22
 */
public interface PlatformDepartmentsService extends IService<PlatformDepartments> {

    PlatformDepartments getById(Long id);

    boolean save(PlatformDepartments entity);

    boolean updateById(PlatformDepartments entity);

    IPage<PlatformDepartments> page(IPage<PlatformDepartments> page, Wrapper<PlatformDepartments> queryWrapper);
}
